from PyQt5.QtCore import Qt


class QtColorManager:
    def __init__(self):
        self.color_list = [Qt.red, Qt.green, Qt.blue, Qt.yellow, Qt.magenta, Qt.cyan, Qt.darkRed, Qt.darkGreen,
                           Qt.darkBlue, Qt.darkYellow, Qt.darkMagenta, Qt.darkCyan]

    def get_color(self, index):
        return self.color_list[index % len(self.color_list)]
